package cn.yunhe.insurance.service;


import cn.yunhe.insurance.entity.Combo;
import com.github.pagehelper.Page;

import java.util.List;
import java.util.Map;

/**
 * @author 董稳钰
 * @date 2018/9/18 12:08
 */
public interface ComboService {
    //添加套餐
    boolean addCombo(Combo combo);
    //修改套餐信息
    boolean updateCombo(Combo combo);
    //获取套餐列表
    Page<Combo> findLikeCombos(Map<String, Object> cond);

    //通过套餐id获取套餐信息
    Combo getComboById(String cuuid);
    //删除套餐
    boolean delCombo(String cuuid);
    //批量删除套餐
    boolean delCombos(List<String> comboList);
    //同意套餐上架
    boolean adoptCombo(String cuuid);
    //拒绝套餐上架
    boolean refuseCombo(String cuuid);
    //获取所有的套餐
    List<Combo> getAllCombo();
    //获取所有通过审核的套餐
    List<Combo> getAllUseableCombo();
    /*  void callAddPrice(String cid);*/
}
